//
//  AJJDViewController.m
//  yonghu
//
//  Created by mac on 2018/3/15.
//  Copyright © 2018年 com.DJS. All rights reserved.
//

#import "AJJDViewController.h"
#import "AJJDView.h"
@interface AJJDViewController ()
@property(nonatomic,strong)AJJDView *aView;
@end

@implementation AJJDViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    _aView=[AJJDView new];
    [self.view addSubview:_aView];
    [_aView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.bottom.right.mas_equalTo(0);
    }];
    _aView.dic=_dic;
    if (_abc==1) {
        [_aView creatView1];
    }if (_abc==2) {
        [_aView creatView2];
    }if (_abc==3) {
        [_aView creatView3];
    }
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
